const baseUrl = 'http://127.0.0.1:3000'

const Api = {
  getImage: '/cherish/getImage',
  getPdf: '/cherish/getPdf'
}

for (const apikey in Api) {
  if (Object.hasOwnProperty.call(Api, apikey)) {
    Api[apikey] = baseUrl + Api[apikey]
  }
}

export default Api
